package com.lh.api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.api.vo.OneDoboVo;
import com.lh.api.vo.SearchVo;
import com.lh.api.vo.ShopDetailVo;
import com.lh.common.entity.admin.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ShopMapper extends BaseMapper<Shop> {

    List<SearchVo> searchObj(Map<String, Object> params);

    List<SearchVo> searchSortObj(Map<String, Object> params);

    List<SearchVo> getIndexList();

    List<SearchVo> getlist(String qureyTime);

    List<SearchVo> getSortList(String qureyTime, String sortName, String sortOrder);

    List<SearchVo> getRecommendShopList(String qureyTime);

    List<OneDoboVo> oneDoboList(String qureyTime);

    List<OneDoboVo> oneDoboSortList(String qureyTime, String sortName, String sortOrder);

    ShopDetailVo getShopDetail(Long sid);
}
